<template>
  <div class="test-cpns">
    <h1>子组件</h1>
    <h2>标题: {{ title }}</h2>
  </div>
</template>

<script setup lang="ts">
import { useSettingStore } from '@/store/modules/settings'

const settingStore = useSettingStore()
const { title } = storeToRefs(settingStore)
</script>
